package unicom.hadoop.demo.action;

import org.springframework.beans.factory.annotation.Autowired;

import unicom.hadoop.demo.service.HadoopService;

public class HadoopAction extends BaseAction {
	@Autowired(required = true)
	private HadoopService hadoopService;
	
	public String helloworld(){
		System.out.println("hello world!");
		hadoopService.helloworld();
		return SUCCESS;
	}
	public String copyFile(){
		System.out.println("Hadoop 上传中");
		hadoopService.copyFile();
		return SUCCESS;
	}
}
